﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MngSingleTaskPlan.aspx.cs"
    Inherits="LDSP.UI.EnterpriseAdmin.MngSingleTaskPlan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link type="text/css" href="../../../Styles/bg.css" rel="Stylesheet" />
    <script type="text/javascript" src="../../../Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="../../../Scripts/jqex.js"></script>
    <script type="text/javascript" src="../../../Scripts/Common.js"></script>
    <script type="text/javascript" src="../../../Scripts/calendar.js"></script>
    <title>任务计划管理</title>
    <style type="text/css">
        #Table1
        {
            width: 804px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 100%">
            <tr>
                <td valign="top" style="padding-left: 10px">
                    <div class="mngTitle">
                        <span class="mngEmphasis">任务计划列表</span>
                        <div class="mngList">
                            <asp:Button ID="btn_addNew" runat="server" Text="添加" OnClick="btn_add_Click" CssClass="mngBtn" /><asp:Button
                                ID="Button2" runat="server" Text="删除选中" OnClientClick="return confirm('您确认要删除么？')"
                                OnClick="btn_delete_Click" CssClass="mngBtn" />
                        </div>
                    </div>
                    <asp:GridView ID="grd_list" runat="server" AutoGenerateColumns="False" EmptyDataText="当前没有查到任何数据！"
                        DataKeyNames="id" BackColor="#666699" BorderColor="#999999" AllowPaging="true"
                        AllowSorting="true" CellPadding="3" GridLines="Vertical" Width="100%" OnRowDataBound="grd_list_RowDataBound">
                        <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                        <RowStyle BackColor="#EEEEEE" ForeColor="Black" BorderStyle="Solid" BorderWidth="1px" />
                        <EmptyDataRowStyle BorderStyle="None" BorderWidth="0px" Font-Bold="True" Font-Size="16pt"
                            ForeColor="white" />
                        <Columns>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:CheckBox ID="chb_selectAll" runat="server" onclick="selectAll(this,'grd_list')" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="chb" runat="server" />
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" Width="40px" />
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="序号" DataField="id" SortExpression="">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="法律法规/标准名称" DataField="name" SortExpression="">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="责任人" DataField="" SortExpression="">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="任务名称" DataField="" SortExpression="">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="执行部门/人员" DataField="" SortExpression="">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="到期时间" DataField="" SortExpression="">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="备注" DataField="" SortExpression="">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="是否完成" DataField="" SortExpression="">
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="操作" ShowHeader="False">
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandArgument='<%# Eval("id") %>'
                                        CommandName="updateItem" Text="修改"></asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton3" runat="server" CausesValidation="False" CommandName="deleteItem"
                                        OnClientClick="return confirm('您确认要删除么？')" Text='删除' CommandArgument='<%# Eval("id") %>'></asp:LinkButton>
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Left" Width="55px" />
                            </asp:TemplateField>
                        </Columns>
                        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="#DCDCDC" />
                    </asp:GridView>
    </div>
    </div> </td> </tr> </table> </div>
    </form>
</body>
</html>
